RtcplListWindowsDevices

The function RtcplListWindowsDevices lists all windows devices.

Syntax

BOOL RtcplListWindowsDevices(
    PDEVICEINFO Devices,
    PDWORD Count
);

Parameters

Devices

Pointer to an array of DEVICEINFO data structures that RtcplListWindowsDevices populates with information.

Count

Pointer to a DWORD that RtcplListWindowsDevices populates with the number of DEVICEINFO data structures Devices can hold.

Return Values

A non-zero value if the function succeeds

Remarks

If you pass in a NULL value for Devices, the call will succeed and return the number of devices found. If you pass in a buffer that is too small, the call will fail with a last error of ERROR_INSUFFICIENT_BUFFER and return the number of devices found.

Related RTX Properties Control Panel Features

Tab

Hardware tab

Dialog Box

Click the Settings button in the Devices area to open the PnP Device Settings dialog box.

Feature(s)

System Plug and Play device list

Requirements

Header RtxProp.h
Library RtxProp.lib
IntervalZero.com | Support | Give Feedback